package com.cloud.cop.business.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

import com.cloud.cop.CopRequest;
/**
 * 创建用户的request
 * @author mayh
 *
 */
public class UserRequest extends CopRequest {
	
	@NotNull
	@Pattern(regexp = "\\w{6,30}")
	private String userName;
	
	@NotNull
	@Pattern(regexp = "\\w{6,30}")
	private String password;
	
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
}
